//
//  BaseView.swift
//  Exchange
//
//  Created by 孟祥群 on 2018/5/8.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit
enum OrderType {
    case coinOrderType
    case leverOrderType
}
class BaseView: UIView {
    var dataSource: BaseViewModel!
    
   init(dataSource:BaseViewModel?) {
        super.init(frame: CGRect.zero)
        self.dataSource = dataSource
        self.setUpUI()
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    func setUpUI() -> Void {
        
        
    }
    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */

}
